package com.woniuxy.service;

import com.woniuxy.entity.Departments;
import com.woniuxy.entity.PageBean;

import java.util.List;

/*
业务层
 */
public interface DepartmentsService {

    void addDepartments(Departments departments);

    void removeDepartments(String departmentsId);

    void updateDepartments(Departments departments);

    PageBean<Departments> getAllDepartments(Departments departments, int pageIndex, int pageSize);

    //查询所有科室的名称
    List<Departments> getAll();

}
